# 获取窗口列表
# from utils import WindowTools

# wm = WindowTools()
# print(wm.get_and_arrange_windows())
# from core.device.control_manager import PhysicalControlManager

# # 创建实例
# control_manager = PhysicalControlManager()

# # 设置主窗口
# control_manager.set_main_window(133148)

# # 开始监控键盘
# # control_manager.start_monitoring('keyboard')  # 只监控键盘
# # 或
# control_manager.start_monitoring('all')  # 监控键盘和鼠标

# # 停止监控
# # control_manager.stop_monitoring()

from core.ocr.user.hp_manager import HpManager

hp_manager = HpManager()
hp_manager.start_ocr()
